﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<fieldset>
<legend>Поиск пациента</legend>
  <center><% using (Ajax.BeginForm( "FindClient",
           new AjaxOptions
           {
               UpdateTargetId = "client",
             
           }))
       { %>
       <input type="hidden" name="proc" value="<%=ViewData["procid"] %> "/>
       <input type="hidden" name="spec" value="<%=ViewData["specid"] %> "/>
       <input type="hidden" name="date" value="<%=ViewData["date"] %> "/>
       <input type="hidden" name="time" value="<%=ViewData["time"] %> "/>
       <br />
       <%=Html.TextBox("searchStr", "", new { @class="search"})%>&nbsp&nbsp&nbsp<input class="g-button"  type="submit" value="Найти" />

        <%} %>
        </center>
        <div id="client"></div>
</fieldset>
